from django.urls import path
from book.views import index,shop,login,weibo,register,get_header_info,http_res,res_json,set_cookie,get_cookie
from bookmanger02.converters import MobileConverter
urlpatterns = [

    path('index/',index),
    path('<pro_id>/<cit_id>/',shop),
    path('login/',login),
    path('weibo/',weibo),
    # 使用
    path('register/<mm:mobile>/',register),

    path('aaa/',get_header_info),
    path('bbb/',http_res),
    path('ccc/',res_json),
    path('set_cookie/',set_cookie),
    path('get_cookie/',get_cookie)

]